
import {GetterTree} from 'vuex';
import {MiStageState, RootState} from '@store/types';

export const getters: GetterTree<MiStageState, RootState> = {
	stages(state): any {
		return state.stages;
	},
	layers(state): any {
		return state.layers;
	},
	activeStage(state): string {
		return state.active.stage;
	},
	activeLayer(state): string {
		return state.active.layer;
	}
};
